package com.smforj.ssm.modules.lib.dao.impl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.smforj.ssm.frame.core.dao.impl.BaseDaoImpl;
import com.smforj.ssm.frame.core.enums.JDataSource;
import com.smforj.ssm.modules.lib.dao.SysReaderWechatDao;
import com.smforj.ssm.modules.lib.domain.SysReaderWechat;

@Repository
@JDataSource("sdefault")
public class SysReaderWechatDaoImpl extends BaseDaoImpl<SysReaderWechat> implements SysReaderWechatDao {

	@Override
	public SysReaderWechat selectByAppid(String appid) { 
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("appid", appid); 
		return getSqlSessionTemplate().selectOne(getSqlName("selectByAppid"), params);
	}
 

}
